package sjtu.ist.warehouse4ws.model;

/**
 * CustRole entity. @author MyEclipse Persistence Tools
 */

public class CustRole extends Role implements java.io.Serializable {

	// Fields

	private String id;
	private String enName;
	private String cnName;
	private String description;
	private String rolePackage;
	private String parentRoleId;
	private String roleType;
	private String departmentid;
	private String fileId;
	private String groupId;
	private String versionId;
	private String uid;

	// Constructors

	/** default constructor */
	public CustRole() {
	}

	/** minimal constructor */
	public CustRole(String id, String fileId) {
		this.id = id;
		this.fileId = fileId;
	}

	/** full constructor */
	public CustRole(String id, String enName, String cnName, String description,
			String rolePackage, String parentRoleId, String roleType,
			String departmentid, String fileId, String groupId,
			String versionId,String uid) {
		this.id = id;
		this.enName = enName;
		this.cnName = cnName;
		this.description = description;
		this.rolePackage = rolePackage;
		this.parentRoleId = parentRoleId;
		this.roleType = roleType;
		this.departmentid = departmentid;
		this.fileId = fileId;
		this.groupId = groupId;
		this.versionId = versionId;
		this.uid=uid;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getEnName() {
		return this.enName;
	}

	public void setEnName(String enName) {
		this.enName = enName;
	}

	public String getCnName() {
		return this.cnName;
	}

	public void setCnName(String cnName) {
		this.cnName = cnName;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getRolePackage() {
		return this.rolePackage;
	}

	public void setRolePackage(String rolePackage) {
		this.rolePackage = rolePackage;
	}

	public String getParentRoleId() {
		return this.parentRoleId;
	}

	public void setParentRoleId(String parentRoleId) {
		this.parentRoleId = parentRoleId;
	}

	public String getRoleType() {
		return this.roleType;
	}

	public void setRoleType(String roleType) {
		this.roleType = roleType;
	}

	public String getDepartmentid() {
		return this.departmentid;
	}

	public void setDepartmentid(String departmentid) {
		this.departmentid = departmentid;
	}

	public String getFileId() {
		return this.fileId;
	}

	public void setFileId(String fileId) {
		this.fileId = fileId;
	}

	public String getGroupId() {
		return this.groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getVersionId() {
		return this.versionId;
	}

	public void setVersionId(String versionId) {
		this.versionId = versionId;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

}